//
//  SelectConditonTableViewCell.m
//  MyYiJianKangApp
//
//  Created by 张国文 on 16/4/1.
//  Copyright © 2016年 hangzhouyijiyin. All rights reserved.
//

#import "SelectConditonTableViewCell.h"

@implementation SelectConditonTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self addMySubview];
    }
    return self;
}

// 布局
- (void)addMySubview
{
    self.leftLabel = [[UILabel alloc] initWithFrame:CGRectMake(15 * kAdjustParamater, 10 * kAdjustParamater, 100 * kAdjustParamater, 20 * kAdjustParamater)];
   // self.leftLabel.backgroundColor = [UIColor redColor];
    self.leftLabel.textAlignment = NSTextAlignmentLeft;
    self.leftLabel.font = [UIFont systemFontOfSize:15 * kAdjustParamater];
    self.leftLabel.textColor = [UIColor blackColor];
    [self.contentView addSubview:_leftLabel];
    
    self.rightLabel = [[UILabel alloc] initWithFrame:CGRectMake(90 * kAdjustParamater, 10 * kAdjustParamater, 250 * kAdjustParamater, 20 * kAdjustParamater)];
 //   self.rightLabel.backgroundColor = [UIColor redColor];
    self.rightLabel.textAlignment = NSTextAlignmentRight;
    self.rightLabel.textColor = [[UIColor blackColor] colorWithAlphaComponent:0.5];
    self.rightLabel.font = [UIFont systemFontOfSize:15 * kAdjustParamater];
    [self.contentView addSubview:_rightLabel];
    self.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
    
    
}

@end
